package com.nbicc.dp.wsgateway.model;

import lombok.Data;

import java.util.Objects;

/**
 * @Author: lilingyan
 */
@Data
public class WsWidgetInstance {

    Integer widgetInstanceId;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        WsWidgetInstance that = (WsWidgetInstance) o;
        return Objects.equals(widgetInstanceId, that.widgetInstanceId);
    }

    @Override
    public int hashCode() {

        return Objects.hash(widgetInstanceId);
    }
}
